package team.yidong.fenda.service;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

/**
 * Created by xuanlong on 2018/3/21.
 */
public interface GuahaoHistoryService {
    JSONObject addGuahaoHistory(String out_trade_no, String openId, String name, String idCard, String phoneNumber, String guahaoDate, String caseCard, String moneyNum, Integer masterId);

    JSONArray findGuahaoHistory(String openId);

    void finishiGuahaoHistory(String out_trade_no, String endTime, String appid, Integer moneyNum);

    JSONArray findGuahaoHistoryForSys(Integer hospitalId, Integer departmentId, String jiaofeiDate1, String jiaofeiDate2, String yuyueDate1, String yuyueDate2, Integer moneyNum, String guahaoNum, String idCard, String phoneNum);
}
